This sample application establishes a network connection and then loads ABC FlowChart. When you exit ABC FlowChart this program will close the network connection and terminate itself. Please do not exit this program.
Timer1
Text2
xWritten and placed in the public domain by Art Krumsee. Compuserve ID 76702,1526. Internet address Art.Krumsee@osu.edu.
Form_Click
WNetAddConnection
NetPath
Passwordz
LocalDevL
WNetCancelConnection
Force
Boolean
Command1_Click;
ConnectBtn_Click
DisConnBtn_Click
powerpth
Timer1_Timer
IndexD
Form_LinkOpenm
Cancel
@ Form_Load
newhandle
GetActiveWindow
GetWindowTask.
taskhandleN
currentx
currenty
class
IsWindowd
statust
FindWindow
lpClassName
lpWindowName
NULLY
break
lpCaption
Loaded
counter}
Handler
Text1_Change
form1
windowstate
netvolume
localdrive
fullappname
User}
Form_Load
Link'n Load has been placed in the public domain by Art Krumseeu
CompuServe ID 76702,1526. Internet address art.krumsee@osu.eduu
Change the following 4 parameters to customize Link'n Load
See the documentation for detailed instructionst
\\acs2\abcflow
h:\abc.exe
MainClass"
This application is already running. Cannot load second copy.
Unable to establish network connection. Application not loaded.
x% = MsgBox(Str$(newhandle))
Unable to start application. Please try again later."